package com.zlcx.tz.live.common.config;

import com.zlcx.tz.live.common.filter.TraceLogFilter;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * <p></p>
 * <PRE>
 * <BR>    修改记录
 * <BR>-----------------------------------------------
 * <BR>    修改日期         修改人          修改内容
 * </PRE>
 *
 * @author zl
 * @version 1.0
 * @date Created in 2019/4/30 10:45
 * @copyright: Copyright (c) founders
 */

@Configuration
@ConditionalOnWebApplication
public class TraceLogConfiguration {

    @Bean
    public TraceLogFilter httpTraceLogFilter() {
        return new TraceLogFilter();
    }

}
